#import <Foundation/Foundation.h>
#import "Lien.h"
#import "Moteur.h"
#import "Vendeur.h"

@interface Annonce : NSObject

@property (strong,nonatomic) NSString* typeAnnonce;


@property (strong,nonatomic) NSString* numero;
@property (strong,nonatomic) NSString* idClient;
@property (strong,nonatomic) NSString* title;
@property (strong,nonatomic) NSString* nomMoteur;
@property (strong,nonatomic) NSString* longueur;
@property (strong,nonatomic) NSString* annee;
@property (strong,nonatomic) NSString* categorie;
@property (strong,nonatomic) NSString* gpsLatitude;
@property (strong,nonatomic) NSString* gpsLongtitude;
@property (strong,nonatomic) NSString* typeClient;
@property (strong,nonatomic) NSMutableArray* photos; //le nombre de photos
@property (strong,nonatomic) NSString* prix;
@property (strong,nonatomic) NSString* taxePrix;
@property (strong,nonatomic) NSString* pubDate;
@property (strong,nonatomic) Lien* lien;
@property (strong,nonatomic) NSString* type;

// utilise dans le tris des annonces
@property (assign, nonatomic) NSInteger prixNumber;
@property (assign, nonatomic) double tailleNumber;
@property (strong,nonatomic) NSString* lienAnnonce;
@property (strong,nonatomic) NSString* numeroVendeur;
@property (strong,nonatomic) Moteur* moteur;
@property (strong,nonatomic) NSString* etat;
@property (strong,nonatomic) NSString* largeur;
@property (strong,nonatomic) NSString* nbCabines;
@property (strong,nonatomic) NSString* nbCouchettes;
@property (strong,nonatomic) NSString* nbSallesDeBain;
@property (strong,nonatomic) NSString* garantie;
@property (strong,nonatomic) NSString* commentaire;
@property (strong,nonatomic) NSString* placeDePort;
@property (strong,nonatomic) NSString* taxe;
@property (strong,nonatomic) NSString* nbPhotos;
@property (strong,nonatomic) Vendeur* vendeur;
@property (strong,nonatomic) NSArray* equipement;
@property (strong,nonatomic) NSArray* electroniques;

@property (strong,nonatomic) NSString* apartirDe;

@property (assign,nonatomic) BOOL location;

@property (strong,nonatomic) NSString* logoVendeur;

@property (strong,nonatomic) NSString* portDeDepart;
@property (strong,nonatomic) NSString* lieuNav;

@property (strong,nonatomic) NSString* departement;
@property (strong,nonatomic) NSString* ptac;

@end